///;lcd  reloj
	#include	<16f877.h>
	#use delay(clock=4000000)
	#fuses HS,NOWDT,PUT,NOPROTECT,NOBROWNOUT,NOLVP,NOCPD
	#include	<LCD.C>
void main(void){//inicio del void
int8 cont=0,cont1=0,cont2=0;
lcd_init();
lcd_putc("\f  :  :");
	while(1){
		for(cont=7;cont<24;cont++){
			lcd_gotoxy(1,1);
			printf(lcd_putc,"%2u",cont);
		//	delay_ms (1000);
			for (cont1=26;cont1<60;cont1++){
				lcd_gotoxy(4,1);
				printf(lcd_putc,"%02u",cont1);
		//		delay_ms (1000);
					for (cont2=0;cont2<60;cont2++){
						lcd_gotoxy(7,1);
						printf(lcd_putc,"%02u",cont2);
						delay_ms (1000);
					}	
			}
		}
	}
}